package com.pjj.projectservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author 76004
 * @apiNote
 * @date 2023/2/12 23:27
 */
@TableName("project")
@Data
public class Project {
    @TableId(value = "id", type = IdType.AUTO)
    Long id;

    @TableField(value = "transaction_id")
    Long transactionId;

    String title;

    Timestamp date;

    @TableField(value = "leader_id")
    String leaderId;

    @TableField(value = "founder_id")
    String founderId;

    Integer status;
}
